@extends('admin.common.option')
@section('content')


<article class="page-container">
	<form class="form form-horizontal" id="formData" method="post"  action="{{url('admin/admin',[ $info['id'] ] )}}">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>管理员名：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" name="account" value="{{$info['account']}}" placeholder="管理员名"  >
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">登录密码：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="password" class="input-text" name="login_password" value="" placeholder="登录密码,如果不需要修改密码,则不需要填写！" >
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">是否显示启用：</label>
			<div class="formControls col-xs-8 col-sm-9">
			    <input type="radio" id="is_enable-1" name="is_enable" value="1" {{$info['is_enable']==1?'checked':''}} >
			    <label for="is_enable-1">是</label>
			    <input type="radio" id="is_enable-0" name="is_enable" value="0" {{$info['is_enable']==0?'checked':''}} >
			    <label for="is_enable-0">否</label>
		  	</div>
		</div>
		{{ method_field('PATCH')}}
		{{csrf_field()}}
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button  class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存并提交审核</button>
				<button  class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>

</article>
@endsection